<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>后台管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="icon" href="javascript:;">
  <link rel="stylesheet" href="../../resource/layui/css/layui.css"  media="all">
  <link rel="stylesheet" href="../../resource/myResource/css/no_read_item.css">
</head>
<style>
</style>
<body>
    
    <form class="layui-form" action="">
        <input type="hidden" id="id">
        <div class="layui-form-item" style="margin-top:25px">
            <div class="layui-inline">
                <label class="layui-form-label"style="width:60px">姓名</label>
                <div class="layui-input-inline mydiv">
                    <label id="name" class="layui-form-label myvaluelable"></label>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label" style="width:60px">账号</label>
                <div class="layui-input-inline mydiv">
                    <label id="identity" class="layui-form-label myvaluelable"></label>
                </div>
            </div>
        </div>

        <div class="layui-form-item" style="margin-top:25px">
            <div class="layui-inline">
                <label class="layui-form-label" style="width:60px">管理区域</label>
                <div class="layui-input-inline mydiv">
                    <label id="areaName" class="layui-form-label myvaluelable"></label>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label" style="width:60px">权限</label>
                <div class="layui-input-inline mydiv">
                    <label id="powerName" class="layui-form-label myvaluelable"></label>
                </div>
            </div>
        </div> 
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label" style="width:60px">添加时间</label>
                <div class="layui-input-inline mydiv">
                    <label id="addTime" id="areaName" class="layui-form-label myvaluelable"></label>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label" style="width:60px">添加管理员</label>
                <div class="layui-input-inline mydiv">
                    <label id="addUserName" class="layui-form-label myvaluelable"></label>
                </div>
            </div>
        </div>

        <div class="layui-collapse">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">
                    <li class="layui-nav-item" style="width:75px">
                        <a href="javascropt:;">历史报修</span></a>
                    </li>
                </h2>
                <div class="layui-colla-content layui-show" style="padding-top:0px;  padding-bottom:25px">
                    <table class="layui-hide" id="repair_table" lay-filter="test" style="width:80%;"></table>                 
                </div>
            </div>
        </div>
        <div class="layui-collapse">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">
                    <li class="layui-nav-item" style="width:75px">
                        <a href="javascropt:;">拒绝报修</span></a>
                    </li>
                </h2>
                <div class="layui-colla-content" style="padding-top:0px">
                    <table class="layui-hide" id="repair_table2" lay-filter="test2" style="width:80%;"></table>                
                </div>
            </div>
        </div>
        <div style="margin-bottom:60px">

        </div>


    </form>
    <script src="../../resource/jquery/dist/jquery.js"></script>
    <script src="../../resource/layui/layui.js" charset="utf-8"></script>
    <script src="../../resource/myResource/js/base.js"></script>
    <script src="../../resource/myResource/js/util/dictionary.js"></script>
    <script src="../../resource/myResource/js/manager/repair_refuse_my_man.js"></script>
    <script src="../../resource/myResource/js/manager/manager_my_handle_man.js"></script>
    <script type="text/javascript">
        layui.use(['form', 'layedit', 'laydate'], function(){});
        //获得id渲染页面
        // alert(GetQueryString("id"));

        // 调用方法： 
        // alert(GetQueryString("id"));
        
       
    </script>
     <script type="text/html" id="barDemo">
        <a class="layui-btn layui-btn-xs" lay-event="detail">详细</a>
        <!-- <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="refuse">拒绝</a> -->
         
   <!-- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> -->
      </script>
    <script>
        var id = GetQueryString("id");
        $.ajax({
            url:head+"/user/getUserInfo?id="+id,
            dataType:"json",
            type:"GET",
            success:function(redata){
                var data = redata.data;
                layui.use(['table'], function(){
                    var util = layui.util;
                    $("#name").text(data.name);
                    $("#identity").text(data.identity);
                    $("#areaName").text(data.areaName);
                    $("#powerName").text(data.powerName);
                    $("#addTime").text(util.toDateString(data.addTime*1,"yyyy-MM-dd HH:mm"));
                    $("#addUserName").text(data.addUserName);
                });
            }
        });
    </script>
</body> 
</html>